package org.example.service;

import com.github.pagehelper.Page;
import org.example.pojo.*;
import org.example.utils.Result;

import java.util.List;

public interface VulnService {
    PageBean scanList(Integer page, Integer size, String taskName, String start ,String end, String status);
//    void vulnScan(Integer scanHisId, Integer vulnNum, List<String> timeRange);

    PageBean vulnList(Integer page, Integer size, Integer tempId, Integer scanId, String cveId, String vulnName, String vulnType, String severity, String status, String start, String end, String keywords);
    Result scanTaskScheduler(Integer taskId);
    Result cancelScanTask(ScanHistoryVO task);
    Integer scanProgress(Integer id);
    List<VulnerabilityCount> getVulnerabilityCountLast7Days();
}
